package com.open.capacity.reimburse.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;


@Data
public class BmExcelModel implements IExcelDataModel, IExcelModel {
    //行号
    private Integer rowNum;
    //错误消息
    private String errorMsg;

    @Excel(name = "部门编号*")
    @NotBlank(message = "[部门编号]不能为空")
    private String code;
    @Excel(name = "部门简称*", width = 20)
    @NotBlank(message = "[部门简称]不能为空")
    private String shortName;
    @Excel(name = "部门全称*", width = 30)
    @NotBlank(message = "[部门全称]不能为空")
    private String fullName;
    @Excel(name = "电话号码")
    private String outerPhone;
    @Excel(name = "分机号")
    private String innerPhone;
    @Excel(name = "传真")
    private String fax;
    @Excel(name = "邮政编码")
    private String postCode;
    @Excel(name = "邮箱")
    private String email;
    @Excel(name = "管理员")
    private String manager;
    @Excel(name = "备注", width = 30)
    private String description;
}
